
"use client";
import { Suspense, useEffect, useState } from "react";
import Dom from "./Dom";


export default function TestE() {
    const [pageshow, setPageShow] = useState(false);
    useEffect(() => {
        //设置页面加载完成
        setPageShow(true);
    }, []);
    return <><main style={{width:'100%', height: '100%'}} className="min-h-screen" >
        <canvas
            id="canvas6"
            width="512"
            height="512"
            style={{
                borderRadius: '50%',
                position: 'absolute',
                top: '50%',
                left: '50%',
                transform: 'translate(-50%, -50%)',
            }}
        ></canvas>
        {pageshow && <Dom />}
    </main>
    </>
}